Articles by Sam Vanhoutte

Making .NET Aspire HTTP service calls work outside the AppHost

When you are building a complex and larger distributed application with .NET Aspire, you don't want to start your .NET Aspire AppHost every single time, when you debug or want to test a specific microservice. At the same time, your microservice may have dependencies to other services. In this post, I will share how you can easily change those service dependencies, depending on your hosting platform. I focus on HTTP API calls, using the HttpClient.